﻿using Furion.Extras.Admin.NET;
using Furion.Extras.Admin.NET.Service;
using System;
using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application
{
    /// <summary>
    /// ProjectWorkload输入参数
    /// </summary>
    public class ProjectWorkloadInput : PageInputBase
    {
        /// <summary>
        /// Project ID
        /// </summary>
        public virtual Guid ProjectId { get; set; }
        
        /// <summary>
        /// Workload ID
        /// </summary>
        public virtual Guid WorkloadId { get; set; }
        
        /// <summary>
        /// Description
        /// </summary>
        public virtual string Description { get; set; }
        
        /// <summary>
        /// Month
        /// </summary>
        public virtual DateTime Month { get; set; }
        
        /// <summary>
        /// Workload Hour
        /// </summary>
        public virtual decimal Workload { get; set; }
        
    }

    public class AddProjectWorkloadInput : ProjectWorkloadInput
    {
    }

    public class DeleteProjectWorkloadInput : BaseId
    {
    }

    public class UpdateProjectWorkloadInput : ProjectWorkloadInput
    {
        /// <summary>
        /// Id主键
        /// </summary>
        [Required(ErrorMessage = "Id主键不能为空")]
        public long Id { get; set; }
        
    }

    public class QueryeProjectWorkloadInput : BaseId
    {

    }
}
